Python Program to check string in palindrome